package gui2.g3;

public class ChatMessage {

	private String msg;
	private String username;

	public ChatMessage(String msg, String username) {
		this.msg = msg;
		this.username = username;
	}

	public String getMsg() {
		return msg;
	}

	public String getUsername() {
		return username;
	}

	@Override
	public String toString() {
		return "[" + username + "] " + msg;
	}

}
